@include('admin.head')
<div class="container">
	<div class="row">
		@include('admin.side')
			<style>
				.rotate180 {
				   filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
				    -moz-transform: rotate(180deg);
				    -o-transform: rotate(180deg);
				    -webkit-transform: rotate(180deg);
				   transform: rotate(180deg);
				}
			</style>
		<div class="col-md-10" id="content-wrapper">
			<ul class="nav nav-tabs">
			  <li class="active"><a href="#home" data-toggle="tab" id="showHome"aria-expanded="true">全部</a></li>
			  <li class=""><a href="#solar" data-toggle="tab" id="showSolar" aria-expanded="true">太阳能</a></li>
			  <li class=""><a href="#filter" data-toggle="tab" id="showFilter" aria-expanded="true">净化器</a></li>
			  <li class=""><a href="#air" data-toggle="tab" id="showAir" aria-expanded="true">空气能</a></li>
			</ul>
			<div id="myTabContent" class="tab-content">
	  			<div class="tab-pane fade active in" id="home">
			    	<div class="panel panel-default">
						<div class="panel-body">
							<div class="form-horizontal">
							    <fieldset>
        						    <div class="col-xs-12">
										<div class="main-box clearfix">
											<h2>全部</h2>
											<div class="form-group homeList">
							        		    <label class="col-xs-4  control-label no_padding_right">名称</label>
							        		    <div class="col-xs-3">
							        		        <select class="form-control input_size main_body save_use_home" name="mainbody_id">
									    	          	<option value="">请选择</option>
							        		        </select>
							        		    </div>
							        		    <div class="col-xs-4  no_padding_both">
							        		      	<button class="btn btn-primary" id="addHome">添加</button>
							        		    </div>
							        		</div>
		        						    </div>
										</div>
									<div class="col-xs-12">
										<div class="main-box clearfix">
											<h2>太阳能</h2>
											<div class="form-group solarList">
							        		    <label class="col-xs-4  control-label no_padding_right">名称</label>
							        		    <div class="col-xs-3">
							        		        <select class="form-control input_size main_body save_use_solar" name="mainbody_id">
									    	          	<option value="">请选择</option>
							        		        </select>
							        		    </div>
							        		    <div class="col-xs-4  no_padding_both">
							        		      	<button class="btn btn-primary" id="addSolar">添加</button>
							        		    </div>
							        		</div>
		        		        		    <div class="form-group">
		        						         <div class="col-xs-12 text-center">
		        									<button type="button" id="solarSub" class="btn btn-primary">提交</button>
		        						        </div>
		        						    </div>
		        						    <div class="row">
												<div class="form-group">
													<div class="form-group">
														<label class="col-xs-2 control-label no_padding_top ">图片:</label>
														<div class="col-xs-8 uc_value _left">
															<img src="<%url('images/ad')%>/{%value.image}" alt="..." class="img-thumbnail">
														</div>
													</div>
													<div class="form-group">
														<label class="col-xs-2 control-label no_padding_top ">操作:</label>
														<div class="col-xs-1 text-center">
														  <button type="button" id="" bid="{%value.id}" class="btn btn-primary editBanner">编辑</button>
														</div>
														<div class="col-xs-1 text-center">
														  <button type="button" id="" bid="{%value.id}" class="btn btn-warning delBanner">审核</button>
														</div>
													</div>
												</div>
											</div>
										</div>
									</div>
									<div class="col-xs-12">
										<div class="main-box clearfix">
											<h2>净化器</h2>
											<div class="form-group filterList">
							        		    <label class="col-xs-4  control-label no_padding_right">名称</label>
							        		    <div class="col-xs-3">
							        		        <select class="form-control input_size main_body save_use_filter" name="mainbody_id">
									    	          	<option value="">请选择</option>
							        		        </select>
							        		    </div>
							        		    <div class="col-xs-4  no_padding_both">
							        		      	<button class="btn btn-primary" id="addFilter">添加</button>
							        		    </div>
							        		</div>
		        		        		    <div class="form-group">
		        						         <div class="col-xs-12 text-center">
		        									<button type="button" id="filterSub" class="btn btn-primary">提交</button>
		        						        </div>
		        						    </div>
										</div>
									</div>
									<div class="col-xs-12">
										<div class="main-box clearfix">
											<h2>空气能</h2>
											<div class="form-group airList">
							        		    <label class="col-xs-4  control-label no_padding_right">名称</label>
							        		    <div class="col-xs-3">
							        		        <select class="form-control input_size save_use_air">
									    	          	<option value="">请选择</option>
							        		        </select>
							        		    </div>
							        		    <div class="col-xs-4  no_padding_both">
							        		      	<button class="btn btn-primary" id="addAir">添加</button>
							        		    </div>
							        		</div>
		        		        		    <div class="form-group">
		        						         <div class="col-xs-12 text-center">
		        									<button type="button" id="airSub" class="btn btn-primary">提交</button>
		        						        </div>
		        						    </div>
										</div>
									</div>
							    </fieldset>
							</div>
						</div>
					</div>
			  	</div>
			</div>
		</div>
	</div>
</div>
@include("admin.footer")
@include("admin.common")
</body>


<!-- 太阳能 -->
<script type="text/html" id="solarTemp">
<div class="row">
	<div class="form-group">
		<div class="form-group">
			<label class="col-xs-2 control-label no_padding_top ">图片:</label>
			<div class="col-xs-8 uc_value _left">
				<img src="<%url('images/ad')%>/{%value.image}" alt="..." class="img-thumbnail">
			</div>
		</div>
		<div class="form-group">
			<label class="col-xs-2 control-label no_padding_top ">操作:</label>
			<div class="col-xs-1 text-center">
			  <button type="button" id="" bid="{%value.id}" class="btn btn-primary editBanner">编辑</button>
			</div>
			<div class="col-xs-1 text-center">
			  <button type="button" id="" bid="{%value.id}" class="btn btn-warning delBanner">审核</button>
			</div>
		</div>
	</div>
</div>
</script>

<script type="text/javascript">
var que = "que";
var url = "<%url('admin')%>/";



</script>

</html>